﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using DevExpress.LookAndFeel;
using DevExpress.XtraBars.Ribbon;

namespace DX.Learning.SimpleUserControlInsertion
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DevExpress.Skins.SkinManager.EnableFormSkins();
            DevExpress.UserSkins.BonusSkins.Register();
            //UserLookAndFeel.Default.SetSkinStyle("DevExpress Style");
            UserLookAndFeel.Default.SkinName = "Metropolis Dark";

            _mainForm = new MainForm();

            Application.Run(_mainForm);
        }

        private static MainForm _mainForm;

        public static MainForm MainForm
        {
            get { return Program._mainForm; }
        }


    }
}